
<%@ page language="java" contentType="text/html; charset=UTF-8"
         isELIgnored="false" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="/mytag" prefix="yjd"%>
<div class="wrap">
    <div class="h_a">搜索</div>
    <div class="search_type cc mb10">
        <form method="get" action='<yjd:url url="/user/growing/users/search"/>' autocomplete="off">
            <label>用户ID：</label>
            <input name="user_id" type="text" class="input length_2 mr10" value="${param.user_id }"	placeholder="user_id">
            <button type="submit" class="btn btn_submit length_1">搜索</button>
        </form>
    </div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td width="60">user_id</td>
                <td>转化状态</td>
                <td>留存状态</td>
                <td>推广状态</td>
                <td>流失监控</td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody id="J_word_list">
            <c:forEach items="${pager.pagerModel.dataList }" var="item">
                <tr>
                    <td>${item.user_id}</td>
                    <td>
                        <c:if test="${item.transfer_status == 0}">注册未开通存管</c:if>
                        <c:if test="${item.transfer_status == 1}">已开通存管未充值</c:if>
                        <c:if test="${item.transfer_status == 2}">充值未投资</c:if>
                        <c:if test="${item.transfer_status == 3}">投资未复投</c:if>
                    </td>
                    <td>
                        <c:if test="${item.keep_status == 0}">忠实用户</c:if>
                        <c:if test="${item.keep_status == 1}">成熟用户</c:if>
                        <c:if test="${item.keep_status == 2}">新生用户</c:if>
                    </td>
                    <td>
                        <c:if test="${item.share_status == 0}">未推广</c:if>
                        <c:if test="${item.share_status == 1}">推广新手</c:if>
                        <c:if test="${item.share_status == 2}">普通推广员</c:if>
                        <c:if test="${item.share_status == 3}">专业推广员</c:if>
                    </td>
                    <td>
                        <c:if test="${item.available_status == 0}">存在流失倾向</c:if>
                        <c:if test="${item.available_status == 1}">已流失</c:if>
                    </td>
                    <td>
                        <li>
                            <a class="btn" href="${requestScope.FPWEB.rootPath }/user/growing/user/detail${requestScope.FPWEB.urlStuff}?user_id=${item.user_id}&back_path=1">查看详情</a>
                            <a class="btn btn_orange" href="${requestScope.FPWEB.rootPath }/user/growing/cs/edit${requestScope.FPWEB.urlStuff}?user_id=${item.user_id}">编辑客服绑定关系</a>
                        </li>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <div id="J_page_wrap">
        <%@ include file="../../public/pager/pager.pagination.jsp" %>
    </div>
</div>
</body>